body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

.background-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}
.char-list {
    background-color: rgba(255, 255, 255, 0.4); 
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6) 2px 8px 8px;
    backdrop-filter: blur(8px); 
    border: 2px rgba(255,255,255,0.4) solid;
    border-bottom: 2px rgba(40,40,40,0.35) solid;
}

.header-row, .char-row {
    display: grid;
    grid-template-columns: 50px 2fr 3fr 2fr;
    align-items: center;
    padding: 0px;
    border-bottom: 2px solid #7b7979;
}

.header-row {
    background-color: #333;
    color: white;
    font-weight: bold;
}

.header-item {
    text-align: center;
    font-size: 20px; 
    font-weight: bold; 
    padding: 10px 0; 
}

.index, .index-header {
    justify-self: center;
}

.char-info {
    display: flex;
    align-items: center;
}

.avatar-img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    margin-right: 10px;
}

.char-details {
    display: flex;
    flex-direction: column;
}

.avatar-name {
    font-weight: bold;
}

.level {
    font-size: 0.8em;
    color: #666;
}

.star-img {
    width: 30px;
    height: 30px;
}

.stigmata-group {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.stigmata-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0; 
}

.stigmata-img {
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
}

.star-rating {
    display: flex;
    justify-content: center;
}

.star-rating-img {
    width: 60px;
    height: 15px;
}

.weapon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.weapon-level {
    font-size: 0.8em;
    color: #666;
}

.weapon-img {
    width: 40px;
    height: 40px;
}

.weap-name {
    font-size: 0.8em;
    text-align: center;
    margin-top: 1px;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0; 
    width: 100%; 
    height: 100%;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

@media (max-width: 768px) {
    .header-row, .char-row {
        grid-template-columns: 30px 1fr 2fr 1fr;
    }

    .avatar-img {
        width: 30px;
        height: 30px;
    }

    .stigmata-img {
        width: 40px;
        height: 40px;
    }

    .weapon-img {
        width: 25px;
        height: 25px;
    }

    .star-rating-img {
        width: 50px;
    }

    .weap-name {
        font-size: 0.7em;
    }
}

.weapon-header {
    position: relative;
}

.uid-info {
    position: absolute;
    top: 0;
    right: 20px; /* 与 .background-container 的 padding 对齐 */
    font-size: 12px;
    color: black;
    text-align: right;
    padding: 5px 0;
}

/* 调整标题行的下边距，为 UID 信息留出空间 */
.header-row {
    margin-bottom: 20px;
}